/**
 * Copyright 2009 University of Washington This code is released under the GPL version 3 - with a copy of the license
 * included
 * 
 * @author Maya Hao Li
 */
package seedpod.webapp.view.seedpodwidgets;

@Deprecated
public class Util {

	public static String deNull( String value ) {
		return value != null ? value : "";
	}

	public static String getParam( String str ) {
		int leftParan = str.indexOf( "(" );
		if ( leftParan > 0 ) return str.substring( (leftParan + 1), str.indexOf( ")" ) );
		else return "";
	}

}